#!/bin/sh

os=`/usr/sbin/sysctl -n kern.osrelease`
major=`echo $os | awk -F. '{print $1}'`
minor=`echo $os | awk -F. '{print $2}'`
rev=`echo $os | awk -F. '{print $3}'`

if [ "$major" -lt "8" -o "$major" -eq "8" -a "$minor" -lt "8" ]; then # Require 10.4.8 or greater
	echo "InstallationCheck: Mac OS 10.4.8 or greater is required" >> /Library/Logs/CCC.log
	exit 97
fi

exit 0
